onRequestPermissionsResult

open fun onRequestPermissionsResult(requestCode: Int, @NotNull permissions: Array<String>, @NotNull grantResults: Array<Int>)

Accepts the result of the request to show notifications. Override onRequestPermissionsResult in the activity which starts recording and pass all values to this method

Parameters

requestCode

The unique code assigned to the permission request

permissions

The requested permissions

grantResults

The grant results for the corresponding permissions